package com.lzjn.code.web.service;

import com.lzjn.code.common.model.PageModel;
import com.lzjn.code.web.entity.DataSource;

import java.util.List;

public interface DataSourceService {

	public PageModel getByPage(DataSource dataSource,PageModel page);
	
	public List<DataSource> getList();
	
	public DataSource getById(String id);
	
	public String add(DataSource dataSource) throws Exception;
	
	public String update(DataSource dataSource) throws Exception;
	
	public String delete(String id) throws Exception;
}
